﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Vision.Utilities.SetupTool.Publish;
using WeifenLuo.WinFormsUI.Docking;

namespace Vision.Utilities.SetupTool
{
    public partial class MainForm : Form
    {
        #region Ctor
        public MainForm()
        {
            InitializeComponent();

            var publishForm = new PublishForm();
            publishForm.Show(MainDockPanel, DockState.DockTop);

            var publishSettingForm = new PublishSettingForm();
            publishSettingForm.Show(MainDockPanel, DockState.DockBottom);
        }
        #endregion

        #region OnLoad
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
        }
        #endregion

        #region Task Import
        private void TasksImportToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var openFileDialog = new OpenFileDialog();
            if (openFileDialog.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
            {
                MessageBox.Show(openFileDialog.FileName);
            }
        }
        #endregion
    }
}
